import { LucideProps } from 'lucide-react';

const BranchIcon = ({
  size = 18,
  color = 'currentColor',
  strokeWidth = 1,
  ...props
}: LucideProps) => {
  return (
    <svg
      width={size}
      height={size}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <g id="Branch icon">
        <path
          id="Vector"
          strokeWidth={strokeWidth}
          fill={color}
          d="M6.00002 8.51992V6.14017C6.50064 5.96324 6.92259 5.61502 7.19129 5.15706C7.45999 4.6991 7.55814 4.1609 7.46838 3.63757C7.37862 3.11425 7.10675 2.63951 6.7008 2.29726C6.29486 1.95501 5.78099 1.7673 5.25002 1.7673C4.71906 1.7673 4.20519 1.95501 3.79924 2.29726C3.3933 2.63951 3.12142 3.11425 3.03166 3.63757C2.94191 4.1609 3.04005 4.6991 3.30875 5.15706C3.57745 5.61502 3.9994 5.96324 4.50002 6.14017V12.3967C3.9994 12.5736 3.57745 12.9218 3.30875 13.3798C3.04005 13.8377 2.94191 14.3759 3.03166 14.8993C3.12142 15.4226 3.3933 15.8973 3.79924 16.2396C4.20519 16.5818 4.71906 16.7695 5.25002 16.7695C5.78099 16.7695 6.29486 16.5818 6.7008 16.2396C7.10675 15.8973 7.37862 15.4226 7.46838 14.8993C7.55814 14.3759 7.45999 13.8377 7.19129 13.3798C6.92259 12.9218 6.50064 12.5736 6.00002 12.3967V10.6417C6.23402 10.7242 6.48527 10.7692 6.74777 10.7699L11.2755 10.7744C11.4743 10.7746 11.6649 10.8537 11.8054 10.9944C11.9459 11.135 12.0248 11.3256 12.0248 11.5244V12.3877C11.5205 12.5599 11.0937 12.9054 10.8203 13.3627C10.5468 13.8201 10.4445 14.3596 10.5316 14.8853C10.6186 15.411 10.8893 15.8888 11.2955 16.2336C11.7018 16.5784 12.2172 16.7679 12.75 16.7684C13.2787 16.7686 13.7906 16.5827 14.1958 16.2432C14.6011 15.9037 14.8739 15.4323 14.9663 14.9118C15.0587 14.3913 14.9649 13.8548 14.7013 13.3966C14.4377 12.9383 14.0212 12.5875 13.5248 12.4057V11.5244C13.5248 10.9281 13.288 10.3561 12.8666 9.93422C12.4451 9.51233 11.8734 9.27501 11.277 9.27442L6.74927 9.26992C6.55049 9.26972 6.35992 9.19061 6.21943 9.04998C6.07894 8.90935 6.00002 8.7187 6.00002 8.51992Z"
        />
      </g>
    </svg>
  );
};

BranchIcon.displayName = 'BranchIcon';
export default BranchIcon;
